<template>
	<view>
		<button @click="onLog()">console.log</button>
		<button @click="onDebug()">console.debug</button>
		<button @click="oninfo()">console.info</button>
		<button @click="onwarn()" type="warn">console.warn</button>
		<button @click="onError()" typr="warn">console.error</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			callSetStorage(){
				console.log("callSetStorage()--> userName xdz");
				uni.setStorage(
				{
					key:"userName",
					data:"xdz",
					success(){
						console.log("储存userName 成功回调");
					},
					fail(){
						console.error("储存userName 成功失败");
					}
				})
			},
			},
			callGetStorage()
		}
	}
</script>

<style>

</style>
